﻿namespace Example
{
    using System;

    using Cavity;

    using Chronic;

    using Xunit;

    [Comment("https://github.com/robertwilczynski/nChronic")]
    public sealed class ChronicFacts
    {
        [Fact]
        public void tomorrow()
        {
            var expected = DateTime.UtcNow.AddDays(1).Date;
            var actual = new Parser().Parse("tomorrow").ToTime().Date;

            Assert.Equal(expected, actual);
        }
    }
}